# 请在下面补充你的代码
a = eval(input())
r = eval(input())
s = (a * r) / 4
S = int(s/240)
print(f'宛田法计算扇形田地面积为{S}亩零{s-S*240:.2f}平方步')